package com.yangwp.jie.dao;

import com.yangwp.jie.model.JieArticle;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
public interface JieArticleDao {

    int insert(JieArticle jieArticle);
    JieArticle getContentById(Integer id);
    List<JieArticle> getContentList(Map<String, Object> params);
    int countContent(Map<String, Object> params);
}
